﻿@model SimpleScrum.Models.LocalPasswordModel
<div class="form-inline">
    <p>
        You do not have a local password for this site. Add a local
        password so you can log in without an external login.
    </p>

    @using (Html.BeginForm("Manage", "Accounts")) {
        @Html.AntiForgeryToken()
        <span class="text-error">@Html.ValidationSummary()</span>
        
        <fieldset>
            <legend>Set Password For Your New Account</legend>
            <div class="span4 offset1">
                <ol class="inline">
                    <li class="name">
                        <div class="control-group">
                            <div class="control-label"> @Html.LabelFor(m => m.NewPassword)</div>
                            <div class="controls"> @Html.PasswordFor(m => m.NewPassword)</div>
                        </div>
                    </li>
                    <li class="name">
                        <div class="control-group">
                            <div class="control-label">@Html.LabelFor(m => m.ConfirmPassword)</div>
                            <div class="controls">@Html.PasswordFor(m => m.ConfirmPassword)</div>
                        </div>
                    </li>
                    <li class="name">
                        <div class="control-group">
                                <div class="pull-right"><input class="btn" type="submit" value="Set password" /></div>
                        </div>
                    </li>
                </ol>
            </div>
            
        </fieldset>
    }
</div>